home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
tool_inc.zip
/
BITMAP.INT
< prev
next >
Wrap
Text File
|
1989-06-02
|
362b
|
13 lines
const
maxbit = 40;
type
bitnumber = 0..39;
bitmap = record
bits: array[0..4] of byte; {bits 0..39}
end;
function getbit(map: bitmap; bitnum: bitnumber): boolean;
{return true/false for specified bit in a bitmap}
procedure setbit(var map: bitmap; bitnum: bitnumber; value: boolean);
{set the specified bit in a bitmap}